home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / GCC 1.37.1r14 / usr / gcc-1.37.1r14 / object oriented files / GNUEditApp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-11-03  |  657 b   |  36 lines  |  [TEXT/KAHL]

  1. /*****
  2.  * GNUEditApp.h
  3.  *
  4.  *    Application class for a tiny editor.
  5.  *
  6.  *****/
  7.  
  8. #define    _H_GNUEditApp        /* Include this file only once */
  9. #include <CApplication.h>
  10.  
  11. struct GNUEditApp : CApplication
  12.     {
  13.     public:
  14.  
  15.     void    IGNUEditApp(void);
  16.     void     SpinCursor(void);
  17.     void    SetUpFileParameters(void);
  18.     void    SetUpMenus(void);
  19.  
  20.     void    CreateDocument(void);
  21.     void    OpenDocument(SFReply *macSFReply);
  22.  
  23.     void     StartUpAction(short    numPreloads);
  24.     void     DoAppleEvent( CAppleEvent *anAppleEvent);
  25.     
  26.     void     CreateDocumentfromHandle(Handle theData); 
  27.     void    DoCommand( long theCommand);
  28.  
  29.     void     ForceClassReferences( void);
  30.  
  31.     private:
  32.  
  33.     CursHandle nxt[8];
  34.     unsigned char ccnt;
  35.     };
  36.